<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>修改用户</title>
<script type="text/javascript"
	src="${ctx}/staticfile/js/datepicker/WdatePicker.js"></script>
</head>

<body>
	<form name="icform" method="post">

		<div id="menubar">
			<div id="middleMenubar">
				<div id="innerMenubar">
					<div id="navMenubar">
						<ul>

							<li id="new"><a href="#" onclick="window.history.go(-1)">返回</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>

		<div class="textbox-title">
			<img src="../../staticfile/skin/default/images/icon/currency_yen.png" />
			修改用户
		</div>

		<div>


			<div class="eXtremeTable">
				<table id="ec_table" class="tableRegion" width="98%">
					<tr class="odd">
						<td>用户名</td>
						<td>${user.userName}</td>
					</tr>

					<tr class="odd">
						<td>所属部门</td>
						<td>${user.dept.deptName}</td>
						<td>真实姓名</td>
						<td>${user.userInfo.name}</td>
					</tr>

					<tr class="odd">
						<td>身份证号</td>
						<td>${user.userInfo.cardNo}</td>
						<td>上级领导</td>
						<td>${user.userInfo.manager.name }</td>
					</tr>

					<tr class="odd">
						<td>入职时间</td>
						<td><fmt:formatDate value="${user.userInfo.joinDate}"
								pattern='yyyy-MM-dd' /></td>
						<td>薪水</td>
						<td>${user.userInfo.salary}</td>
					</tr>

					<tr class="odd">
						<td>生日</td>
						<td><fmt:formatDate value="${user.userInfo.birthday}"
								pattern="yyyy-MM-dd" /></td>
						<td>性别</td>
						<td>${user.userInfo.gender}</td>
					</tr>
					<tr class="odd">
						<td>职位</td>
						<td>${user.userInfo.station }</td>
						<td>电话</td>
						<td>${user.userInfo.telephone}</td>
					</tr>

					<tr class="odd">
						<td>序号</td>
						<td>${user.userInfo.orderNo}</td>
						<td>用户级别</td>
						<td><c:if test="${user.userInfo.userLevel==1}">总经理</c:if> 
								<c:if test="${user.userInfo.userLevel==2}">副总</c:if> 
								<c:if test="${user.userInfo.userLevel==3}">部门经理</c:if>
								 <c:if test="${user.userInfo.userLevel==4}">普通用户</c:if>
						</td>
					</tr>
					<tr class="odd">
						<td>备注信息</td>
						<td colspan="3"><textarea name="userInfo.remark"
								style="width: 100%; height: 120px"  readonly="readonly"/>${user.userInfo.remark}</textarea>
					</tr>
				</table>
			</div>

		</div>


	</form>
</body>
</html>

